package com.ruoyi.bizsys.service;

import java.util.List;

import com.ruoyi.bizsys.domain.ExtMonnifyReservedAccounts;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * monnify虚拟账户Service接口
 *
 * @author african-loan
 * @date 2021-10-28
 */
public interface IExtMonnifyReservedAccountsService extends IService<ExtMonnifyReservedAccounts>{
    /**
     * 查询monnify虚拟账户
     *
     * @param id monnify虚拟账户ID
     * @return monnify虚拟账户
     */
    public ExtMonnifyReservedAccounts selectExtMonnifyReservedAccountsById(Long id);

    /**
     * 查询monnify虚拟账户列表
     *
     * @param extMonnifyReservedAccounts monnify虚拟账户
     * @return monnify虚拟账户集合
     */
    public List<ExtMonnifyReservedAccounts> selectExtMonnifyReservedAccountsList(ExtMonnifyReservedAccounts extMonnifyReservedAccounts);

    /**
     * 新增monnify虚拟账户
     *
     * @param extMonnifyReservedAccounts monnify虚拟账户
     * @return 结果
     */
    public int insertExtMonnifyReservedAccounts(ExtMonnifyReservedAccounts extMonnifyReservedAccounts);

    /**
     * 修改monnify虚拟账户
     *
     * @param extMonnifyReservedAccounts monnify虚拟账户
     * @return 结果
     */
    public int updateExtMonnifyReservedAccounts(ExtMonnifyReservedAccounts extMonnifyReservedAccounts);

    /**
     * 批量删除monnify虚拟账户
     *
     * @param ids 需要删除的monnify虚拟账户ID
     * @return 结果
     */
    public int deleteExtMonnifyReservedAccountsByIds(Long[] ids);

    /**
     * 删除monnify虚拟账户信息
     *
     * @param id monnify虚拟账户ID
     * @return 结果
     */
    public int deleteExtMonnifyReservedAccountsById(Long id);

    public ExtMonnifyReservedAccounts getByUserId(String userId);

}
